package com.weiyuwqj.api.model.convert;

/**
 * Created by huzj on 2017/4/26.
 */
public class SysFeeTypeConvert implements ModelConvert{
    @Override
    public Object convert(Object form) {
        if(form==null) return "";
        if(!(form instanceof Integer)){
            return "";
        }
        int type=(Integer)form;
        if(type==1){
            return "充值";
        }else if(type==2){
            return "提现";
        }else{
            return "其他";
        }
    }
}
